<?php
/**
 * [PHPFOX_HEADER]
 */

defined('PHPFOX') or exit('NO DICE!');

/**
 *
 *
 * @copyright		[PHPFOX_COPYRIGHT]
 * @author  		Raymond Benc
 * @package  		Module_User
 * @version 		$Id: browse.class.php 6388 2013-07-30 10:08:56Z Raymond_Benc $
 */
class Profiles_Component_Controller_Setting extends Phpfox_Component
{
    /**
     * Class process method wnich is used to execute this component.
     */
    public function process()
    {    	
        $user_id = $this->request()->get('user');
        $username = $this->request()->get('username');
        $user['user_id'] = $user_id;
        $user['username'] = $username;
//        echo $user_id;exit;
        Phpfox::getLib('session')->set('profiles_selected_user', $user);
        Phpfox::getLib('url')->send('');
        
    }
}

?>

